<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>Laravel</title>

    <!-- Fonts -->
    <link href="https://fonts.googleapis.com/css2?family=Nunito:wght@200;600&display=swap" rel="stylesheet">

    <!-- Styles -->
    <style>
        html, body {
            background-color: #fff;
            color: #636b6f;
            font-family: 'Nunito', sans-serif;
            font-weight: 200;
            height: 100vh;
            margin: 0;
        }
    </style>
</head>
<body>
{{--<div style="margin-left: 20px">
    <label>FWG</label>
    <input value="{{$number[0]}}" readonly>
</div>
<div style="margin-top: 20px; margin-left: 20px;">
    <label>FWF</label>
    <input value="{{$number[1]}}" readonly>
</div>

<div style="margin-top: 20px; margin-left: 20px">
    <label>玉米地块数</label>
    <input id="yumi" value="" placeholder="请输入玉米地块数">
</div>

<div style="margin-top: 20px; margin-left: 20px">
    <label>已浇水次数</label>
    <input id='shui' value="" placeholder="请输入以浇水次数">
</div>



<div style="margin-top: 20px; margin-left: 20px">
    <label>系数</label>
    <input id='coefficient' value="" placeholder="请输入系数">
</div>

<div style="margin-top: 20px; margin-left: 20px">
    <label>应该置换金子数量</label>
    <input id='gold' value="" readonly>
</div>

<button type="button" id="click" style="width: 50px; height: 50px; text-align: center; margin-top: 20px; margin-left: 20px;">运算</button>
</body>
</html>--}}

<script src="{{asset('js/jquery-3.6.0.min.js')}}"></script>
<script>
    $.ajax({
        type:"POST",
        url:"{{url('/api/goods/goodsPurchase')}}",
        dataType: 'JSON',
        success:function (data) {
            console.log(data);
        }
    })
</script>
